package com.codeoss.framework.view.component;

import com.codeoss.framework.expression.Expression;

public class Button extends Component {
	private Expression labelExpression;
    private String colorType="";
    private String confirmMessage;
    private String clientPageCode;
    private Expression readOnlyExpression;
    private String serverPageCode;
    private boolean block;
    private String para1;
    private String para2;
    
	public Expression getLabelExpression() {
		return labelExpression;
	}

	public void setLabelExpression(Expression labelExpression) {
		this.labelExpression = labelExpression;
	}
	
	public String getColorType() {
		return colorType;
	}

	public void setColorType(String colorType) {
		this.colorType = colorType;
	}

	public String getConfirmMessage() {
		return confirmMessage;
	}

	public void setConfirmMessage(String confirmMessage) {
		this.confirmMessage = confirmMessage;
	}
	
	public String getClientPageCode() {
		return clientPageCode;
	}

	public void setClientPageCode(String clientPageCode) {
		this.clientPageCode = clientPageCode;
	}

	public Expression getReadOnlyExpression() {
		return readOnlyExpression;
	}

	public void setReadOnlyExpression(Expression readOnlyExpression) {
		this.readOnlyExpression = readOnlyExpression;
	}

	public String getServerPageCode() {
		return serverPageCode;
	}

	public void setServerPageCode(String serverPageCode) {
		this.serverPageCode = serverPageCode;
	}

	public boolean isBlock() {
		return block;
	}

	public void setBlock(boolean block) {
		this.block = block;
	}

	
	public String getPara1() {
		return para1;
	}

	public void setPara1(String para1) {
		this.para1 = para1;
	}

	public String getPara2() {
		return para2;
	}

	public void setPara2(String para2) {
		this.para2 = para2;
	}

	@Override
	public String getType() {
		// TODO Auto-generated method stub
		return "button";
	}

}
